<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>canvas画板</title>
    <link rel="stylesheet" href="./css/index_main.css">
</head>

<body>
    <canvas id="xxx"></canvas>
    <div class="actions">
        <svg id="brush" class="active" class="icon" aria-hidden="true">
            <use xlink:href="#icon-brush"></use>
        </svg>
        <svg id="eraser" class="icon" aria-hidden="true">
            <use xlink:href="#icon-Eraser-Tool"></use>
        </svg>
        <svg id="clear" class="icon" aria-hidden="true">
            <use xlink:href="#icon-clear"></use>
        </svg>
        <svg id="download" class="icon" aria-hidden="true">
            <use xlink:href="#icon-download"></use>
        </svg>
    </div>
    <ol class="colors">
        <li class="black"></li>
        <li class="red"></li>
        <li class="blue"></li>
    </ol>
    <ol class="sizes">
        <li id="thin" class="thin"></li>
        <li id="weight" class="weight"></li>
    </ol>
    <script src="./js/main.js"></script>
    <script src="//at.alicdn.com/t/font_2042700_4nt6dzdwuwu.js"></script>
    <script>
        document.body.addEventListener('touchmove', function(e) {
            e.preventDefault();
        }, {
            passive: false
        });
    </script>
</body>

</html>